class AddressEntity {
  String address_id, name, is_main, address;
  String surname, country, province, city, mobile; //详情中才有

  AddressEntity.fromJson(dynamic json) {
    if (json != null && json is Map) {
      address_id = json['address_id'];
      name = json['name'];
      is_main = json['is_main'];
      address = json['address'];
      surname = json['surname'];
      country = json['country'];
      province = json['province'];
      city = json['city'];
      mobile = json['mobile'];
    }
  }
}
